@extends('admin.layout')
 
@section('title', '管理员登录')

@section('header')
@endsection

@section('aside')
@endsection

@section('content')
<section id="content" class="m-t-lg wrapper-md animated fadeInUp">
    <div class="container aside-xxl"> 
        <a class="navbar-brand block" href="index.html">{{ config('app.name') }}</a>
        <section class="panel panel-default bg-white m-t-lg">
            <header class="panel-heading text-center"> <strong>管理员登录</strong> </header>
            <form class="panel-body wrapper-lg" method="POST" action="{{ url('/login') }}">
                {{ csrf_field() }}

                <div class="form-group">
                    <label class="control-label">Email</label>
                    <input type="email" name="email" value="{{ old('email') }}" placeholder="请输入用户名" class="form-control input-lg">
                </div>
                <div class="form-group">
                    <label class="control-label">Password</label>
                    <input type="password" name="password" placeholder="请输入密码" class="form-control input-lg">
                </div>
                <div class="checkbox">
                    {!! Geetest::render('popup') !!}
                </div>
                <a href="#" class="pull-right m-t-xs"><small>忘记密码?</small></a>
                <button type="submit" class="btn btn-primary">登&nbsp;&nbsp;录</button>
                <div class="line line-dashed"></div>
            </form>
        </section>
    </div>
</section>
<footer id="footer">
    <div class="text-center padder">
        <p> <small>{{ config('app.name') }}&nbsp;&nbsp;Make by {{ config('app.author') }}<br>&copy; 2016</small> </p>
    </div>
</footer>
@endsection
